package com.example.forum.model;

import lombok.Data;

import java.util.Date;
@Data
public class Message {
    private Long id;

    private Long postUserId;

    private Long receiveUserId;

    private String content;

    private Byte state;

    private Byte deleteState;
    
    /**
     * 消息类型：system(系统通知)、comment(评论回复)、like(点赞提醒)等
     */
    private String type;

    private Date createTime;

    private Date updateTime;


    //关联发送的对象
    private User postUser;

}